package com.zline.foodraise.entity;

/**
 * Created by heshantao on 16/1/7.
 * 项目属性Bean
 */
public class ProjectAttrBean {
    /**
     * currentCount : 0
     * limitCount : 200
     * price : 0.01
     * projectAttrId : 1
     * projectId : 1
     * reward : 宝马一辆
     * stock : 23
     */

    //已参与人数
    private int currentCount;
    //目标人数
    private int limitCount;
    //价格
    private double price;
    //属性id
    private int projectAttrId;
    //项目Id
    private int projectId;
    //奖励说明
    private String reward;
    //剩余人数
    private int stock;

    public ProjectAttrBean(int currentCount, int limitCount, double price, int projectAttrId,
                           int projectId, String reward, int stock) {
        this.currentCount = currentCount;
        this.limitCount = limitCount;
        this.price = price;
        this.projectAttrId = projectAttrId;
        this.projectId = projectId;
        this.reward = reward;
        this.stock = stock;
    }

    public void setCurrentCount(int currentCount) {
        this.currentCount = currentCount;
    }

    public void setLimitCount(int limitCount) {
        this.limitCount = limitCount;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public void setProjectAttrId(int projectAttrId) {
        this.projectAttrId = projectAttrId;
    }

    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getCurrentCount() {
        return currentCount;
    }

    public int getLimitCount() {
        return limitCount;
    }

    public double getPrice() {
        return price;
    }

    public int getProjectAttrId() {
        return projectAttrId;
    }

    public int getProjectId() {
        return projectId;
    }

    public String getReward() {
        return reward;
    }

    public int getStock() {
        return stock;
    }
}
